package org.nimi317.web_gis.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @author thunderobot
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TableRange {

    @TableId(type = IdType.INPUT)
    private String tableName;

    @TableField("`from`")
    private LocalDateTime from;

    @TableField("`to`")
    private LocalDateTime to;
}
